package com.dbapp.common.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author
 * @Description  封装用户信息
 * @date 2021/6/21 10:08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class JwtUserDetails implements Serializable {

    private static final long serialVersionUID = 1L;
    private Long id;
    private String userName;
    private String password;
    private String name;

    private String phone;
    private String mail;
    private String area;

    private String refreshedToken;


}
